module.exports = {
    baseUrl: process.env.NODE_ENV === 'production' ? '/front/' : '/',
    outputDir: '../../www/front',
    assetsDir: 'static',
    // configureWebpack: {
    //     resolve: {
    //         alias: {
    //             'vue$': 'vue/dist/vue.esm.js'
    //         }
    //     }
    // },
    pages: {
        manager:
        {
            entry: 'src/modules/manager/main.js',
            template: 'public/index.html',
            title: '群主端',
            filename: 'manager.html'
        },
        visitor:
        {
            entry: 'src/modules/visitor/main.js',
            template: 'public/index.html',
            title: '用户端',
            filename: 'visitor.html'
        }
    },
    devServer: {
        host: '0.0.0.0',
        port: 3030,
        hot: true,
        compress: true,
        proxy: 'http://47.96.9.44:8050'
    }
}